package liuwanghui.service;

import liuwanghui.common.Result;
import liuwanghui.dto.request.ImportOrdersDTO;
import liuwanghui.dto.request.ProductQueryDTO;
import liuwanghui.dto.request.ProductStatusDTO;

public interface DealerService {
    // 统计相关
    Result getStatistics(String timeRange, String startDate, String endDate, 
                        String category, Boolean includeDetails);
    Result getHotProducts();
    
    // 商品相关
    Result getProducts(ProductQueryDTO params);
    Result updateProductStatus(Long productId, ProductStatusDTO dto);
    Result deleteProduct(Long id);
    
    // 库存相关
    Result getLowStockProducts(Integer threshold, String category, 
                             String warehouse, Integer page, Integer pageSize);
    Result getInventoryProducts();
    Result importOrdersToStock(ImportOrdersDTO dto);
    
    // 订单相关
    Result getRecentOrders();
    Result getCompletedOrders();
} 